package com.sq.bootshiro.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.ibatis.mapping.FetchType;

import java.util.Set;

@Data
public class Role {

    @TableId(type = IdType.AUTO)
    private Integer roleId;
    private String roleName;

    private Set<Permission> permissions;


}
